@layout("/common/_container.html"){
<style>
    html{
        width:100%;
        overflow-x:hidden;
    }
    .fullDetails{
        font-size: 14px;
        height: 100%;
        background: #F9F9F9;
    }
    .interviewHeader{
        height: 3.5em;
        line-height: 3.5em;
        position: fixed;
        background: white;
        width: 100%;
        z-index: 1;
        border-bottom: 1px solid #E5E5E5;
        padding: 0 1em;
        display: flex;
    }
    .interviewHeader > div{
        flex: 1;
        color: #00a6c9;
    }
    .interviewHeader > div:nth-child(2){
        color: black;
        text-align: center;
        font-size: 16px;
    }
    .interviewPortrait{
        padding: 4em 0 0.5em;
    }
    .interviewPortrait > div{
        background: white;
        padding: 2em;
        position: relative;
    }
    .interviewPortrait > div > span:last-of-type,
    .interviewContent > div > span:last-of-type{
        position: absolute;
        right: 1em;
        top: 50%;
        transform: translateY(-50%);
    }
    .interviewPortrait > div > span:first-of-type {
        display: inline-block;
        width: 3em;
        height: 3em;
        background: red;
        vertical-align: middle;
        border-radius: 50%;
    }
    .interviewPortrait > div > span > span{
        color: #00a6c9;
        margin-left: 0.5em;
    }
    .interviewContent{
        background: white;
    }
    .interviewContent > div ,.interviewTextarea > div{
        line-height: 3em;
        border-bottom: 1px solid #E5E5E5;
        text-indent: 1em;
        position: relative;
    }
    .interviewTextarea{
        margin-top: 0.5em;
        background: white;
    }
    .interviewTextarea textarea{
        border: none;
        width: 95%;
        height: 5em;
        outline: none;
    }
</style>
<div style="display: none">
    <input type="hidden" id="pageNumberValue" value="${pageNumber}">
</div>
<div class="fullDetails">
    <!--头部-->
    <div class="interviewHeader">
        <div onclick="schedule()">取消</div>
        <div>随访详情</div>
        <div style="text-align: right">保存</div>
    </div>
    <!--头像栏-->
    <div class="interviewPortrait">
        <div>
            <span></span>
            <span>请选择患者<span class="glyphicon glyphicon-triangle-right"></span></span>
        </div>
    </div>
    <!--选项栏-->
    <div class="interviewContent">
        <div><span>日期</span><span><span class="glyphicon glyphicon-triangle-right"></span></span></div>
        <div><span>随访人</span><span><span class="glyphicon glyphicon-triangle-right"></span></span></div>
        <div><span>医生</span><span><span class="glyphicon glyphicon-triangle-right"></span></span></div>
        <div><span>状态</span><span><span class="glyphicon glyphicon-triangle-right"></span></span></div>
    </div>
    <!--随访内容-->
    <div class="interviewTextarea">
        <div><span>内容</span></div>
        <div><textarea name="contents" id="contents" placeholder="请输入随访内容"></textarea></div>
    </div>
    <!--随访结果-->
    <div class="interviewTextarea">
        <div><span>结果</span></div>
        <div><textarea name="result" id="result" placeholder="请输入随访结果"></textarea></div>
    </div>
</div>
<script>
    function schedule() {
        if($("#pageNumberValue").val() == "medicalRecord"){
            window.location.href = "${ctxPath}/doctorLooked/doctor_patientDetails";
        }else if($("#pageNumberValue").val() == "doctorFollowUp"){
            window.location.href = "${ctxPath}/doctorLooked/doctor_schedule";
        }
    }
</script>
@}
